package com.nervenets.web.hibernate.domain.film;

import com.nervenets.web.enumeration.MovieInfoStatus;
import com.nervenets.web.enumeration.MovieReleaseStatus;
import com.nervenets.web.enumeration.MovieStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MovieCheckInfo implements Serializable {
    private MovieInfoStatus status;
    private String title;//主标题
    private String subtitle;//副标题
    private long priceOfUnit;//单份价格
    private int userLimit;//用户最大购买数量
    private long deposit;//是否支持线上定金线下购买
    private String coverImage;//封面图
    private List<String> carousels = new ArrayList<>();//轮播图
    private String content;//详情内容
    private String incomeDetail;//收益说明
    private String contractDetail;//合同说明
    private String riskWarning;//风险提示
    private String failedReason;
    private MovieStatus movieStatus;
    private MovieReleaseStatus releaseStatus;
    private long userId;

    public MovieCheckInfo(MovieInfoStatus status) {
        this.status = status;
    }
}
